﻿using ITSM.Service.Utils;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace ITSM.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class TokenController : ControllerBase
    {
        [HttpGet]
        public async Task<string> GetToken() {
            WxToken token = new();
            return await token.GetToken();
        }
    }
}
